package zwierzaki;

public class RudySzarik {

	public static void main(String[] args) {

		int a = 102;
		int b = 102;
		Integer alfa = new Integer(102);
		Integer omega = new Integer(102);
		
		System.out.println("\n Porownanie typow prymitywnych");
		System.out.println(a == b);
		System.out.println("\n Porownanie odwolan do obiektow");
		System.out.println(alfa == omega);
		System.out.println("\n Porownanie obiektow");
		System.out.println(alfa.equals(omega));
		
	}

}
